//
//  MyMenuButton.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/6/13.
//
//

#ifndef CanYouDoIt_MyMenuButton_h
#define CanYouDoIt_MyMenuButton_h

#include "MyButton.h"
using namespace cocos2d;

class MyMenuButton : public MyButton{
private:
    CCSprite* backgroundSprite;
    CCLabelBMFont* contentLabel;
public:
    static MyMenuButton* create(const char* contentString,double mX,double mY,double mWidth, double mHeight);
    void goToNormalMode();
    void goToHighlightMode();
    bool isTouchedAt(CCPoint touchPosition);
    
    virtual bool init();
    CREATE_FUNC(MyMenuButton);
};


#endif
